package com.titan.single.vo;

import cn.hutool.core.collection.CollectionUtil;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;


@Data
public class BaseRequest {

    private String id;

    // 1:发生报错
    private String isError;

    private List<String> record;

    public List<String> getRecord() {
        if (CollectionUtil.isEmpty(record)){
            record = new ArrayList<>();
        }
        return record;
    }
}
